package com.aode.utils.main;


import com.aode.common.header.Header;

import java.util.Map;

import okhttp3.MediaType;
import okhttp3.RequestBody;


public class RequestUtils {
    public static RequestBody request(Map<String, Object> params ){
        RequestBody requestBody = RequestBody.create(MediaType.parse(Header.JSON_HEADER), GsonUtils.toJson(params));
        return requestBody;
    }
}
